<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>ss
    //数组名[索引]：索引从0开始
     let arr=[12,4,'dgf',false,null,34,,,,,123.56789];
     console.log(arr[5]);
     console.log(arr[6]);
     console.log(arr);
     console.log('-------------');
     console.log(arr,length);
     console.log('-----------');
    for(let i=0;i<arr.length;i++){
        console.log(arr[i]);
    }
</script>
</html>